export function setToken(token) {
    uni.setStorageSync('token', token);
}

export function getToken() {
	var token = ""
        uni.getStorage({
            key: 'token',
            success: function (res) {
                token = res.data;
				setToken(token)
            }
        });
	return token
}

export function removeToken() {
    uni.removeStorage({
    	key:'token',
    })
}
